<metal:macro define-macro="messages">
    <ul><li tal:repeat="message messages | nothing"><tal:replace replace="message" /></li></ul>
</metal:macro>
